﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _01_TCP_服务端
{
    public class PersonInfo
    {

        public string Name { get; set; }
        public string RemoteEndPoint { get; set; }

        public PersonInfo(string name, string remoteEndPoint)
        {
            Name = name;
            RemoteEndPoint = remoteEndPoint;
        }
        
        public override string ToString()
        {
            return Name;
        }

    }
}
